//
//  HMDiscoverTableViewController.swift
//  MyWeibo
//
//  Created by apple on 16/4/16.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

class HMDiscoverTableViewController: HMVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        if !userLogon{
            
            VisitorView.setVisitorInfo("visitordiscover_image_message", message: "登录后，最新、最热微博尽在掌握之中，不再会与实事潮流擦肩而过")
            return
        }
        
        //创建searchView
        let searchView = HMSearchView.searchView()
        //设置宽度
        searchView.frame.size.width = UIScreen.mainScreen().bounds.width
        //设置导航栏的搜索框
        navigationItem.titleView = searchView
        
    }

   
}
